package com.yiba.vpn.authorization.model;

public class OauthUserModel {


    //拼接生成的token
    private String token;

    //刷新的token
    private String refreshToken; //刷新的token，只用一次

    private long expiresIn;

    //account
    private String account;
    //vpnId
    private String vpnId;

    //是否是领取试用服务的新用户 0不是 1：是
    private Integer newTestService;


    public OauthUserModel(String token, String refreshToken, long expiresIn, String account, String vpnId, Integer newTestService) {
        this.token = token;
        this.refreshToken = refreshToken;
        this.expiresIn = expiresIn;
        this.account = account;
        this.vpnId = vpnId;
        this.newTestService = newTestService;
    }

    public String getToken() {
        return token;
    }

    public String getRefreshToken() {
        return refreshToken;
    }

    public long getExpiresIn() {
        return expiresIn;
    }

    public String getAccount() {
        return account;
    }

    public String getVpnId() {
        return vpnId;
    }

    public Integer getNewTestService() {
        return newTestService;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
    }

    public void setExpiresIn(long expiresIn) {
        this.expiresIn = expiresIn;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public void setVpnId(String vpnId) {
        this.vpnId = vpnId;
    }

    public void setNewTestService(Integer newTestService) {
        this.newTestService = newTestService;
    }
}
